<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>点击链接后显示警告信息</title>
</head>

<body>
    <p>点击以下链接查看结果：</p>
    <a href="javascript:void(alert('Fucking!!!'))">点我!</a>
</body>

</html>